-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Cmm_helpers.Scalar_type #3423
Conversation
Selection Change CheckThis PR modifies the original selection pass (targeting Mach). |
16f1b23
to
443a81c
Compare
39828c2
to
ae1f27d
Compare
443a81c
to
2f5d60b
Compare
ae1f27d
to
d4a7719
Compare
1d28ccf
to
e856bc9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I'm confident the conversions are correct. Have you checked that this doesn't hurt codegen for static casts? We don't have a good way to test that automatically, but spot-checking a few things seems sufficient.
I noticed that the generated |
Should we e.g. examine the actual generated assembly for a few executables before and after this change? I think probably yes. |
baa577d
to
bb2d88e
Compare
Also: there's a CI failure that seems related to this PR: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I wait until you fix the CI failures to review again ?
8fa9539
to
6dce5c0
Compare
5f3896a
to
69edaea
Compare
…ng between integers types of different widths and signedness. This is in preparation for adding unboxed small integer types.
69edaea
to
176df12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go apart from one stylistic comment.
Cmm_helpers.Scalar_type
provides utilities for converting between integers types of different widths and signedness. This is in preparation for adding unboxed small integer types.